package com.luoc.service.impl;

import com.luoc.service.Subject2;

/**
 * @Author: luoc
 * @Date: 2019/9/25 8:45
 */
public class Proxy implements Subject2 {

    private RealSubject2 realSubject2;
    @Override
    public void request() {
        realSubject2.request();
    }

    public Proxy(RealSubject2 realSubject2) {
        this.realSubject2 = realSubject2;
    }
}
